package cn.lili.modules.member.service;

import cn.lili.common.vo.PageVO;
import cn.lili.modules.system.entity.dos.LiVipActiveCode;
import cn.lili.modules.urbansubstation.entity.dto.VipCodeSearchParams;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author asus
* @description 针对表【li_vip_active_code(激活码表)】的数据库操作Service
* @createDate 2023-11-07 13:52:33
*/
public interface VipActiveCodeService extends IService<LiVipActiveCode> {

    Page<LiVipActiveCode> getCodePage (VipCodeSearchParams vipCodeSearchParams, PageVO page);
    LiVipActiveCode getActiveCodeByCode (String code);

    void updateCodeStatus (LiVipActiveCode vipActiveCode, String userId);
}
